package deep.projects.newsapp.activities;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.wuxinwudai.android.app.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import deep.projects.newsapp.R;

/**
 * CheckVersionActivity 为版本检查 Activity
 * @author Deep
 */
public class CheckVersionActivity extends BaseLayoutActivity {

    @BindView(R.id.tv_version) TextView mtvVersion;
    @OnClick(R.id.btn_check) void  onCheck(View v){
        v.setEnabled(false);

        v.setEnabled(true);
    }
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ButterKnife.bind(this);
        tvTitle.setText("版本更新");
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_check_version;
    }
}
